package guoanmaker.provider.business.model;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import guoanmaker.provider.business.modelnobind.ProvideCommodityMove;
import guoanmaker.provider.helper.common.abstractobj.IdEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Data
@Table(name="t_operator_server_class")
public class OperatorServerClass extends IdEntity{

    private Integer serverLevel;  //服务级别
    private String serverName;  //服务名称
    private String parentServerId;//父类服务ID
    private Integer serverType;//1，,空间服务   2.。。。
    private String deleteState;//0:标记可用 1:已删除

    @Transient
	private List<ProvideCommodityMove> commoditys;
    
    @Transient
    private List<OperatorServerClass> serverClasss;
}
